body{
    background: #f5f5f5;
}
/*涓讳綋鐩掑瓙*/
.layout{
    width: 100%;
    max-width: 640px;/*璁捐鍥剧殑鍘熷洜  涓嶇劧瀹冩斁澶�*/
    min-width: 300px;/*涓轰簡鏇村ソ鐨勫竷灞€*/
    margin: 0 auto;
    position: relative;
}

/*澶撮儴鎼滅储*/
.header{
    position: fixed;/*鏄互  window 鏈€澶栧眰瀹瑰櫒 璁＄畻*/
    left: 0;
    top: 0;
    height: 40px;
    width: 100%;
    z-index: 1000;
}
.header > .header_box{
    width: 100%;
    max-width: 640px;/*璁捐鍥剧殑鍘熷洜  涓嶇劧瀹冩斁澶�*/
    min-width: 300px;/*涓轰簡鏇村ソ鐨勫竷灞€*/
    margin: 0 auto;
    background: rgba(26,188,156,0);
    height: 40px;
    position: relative;
}

.header > .header_box > .icon_logo{
    width: 55px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #fff;
    position: absolute;
    left: : 0;
    top: 0;
    font-size: 15px;
}
.header > .header_box > .login{
    width: 50px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #fff;
    position: absolute;
    right: 0;
    top: 0;
    font-size: 15px;
}
.header > .header_box > form{
    width: 100%;
    padding-left: 55px;
    padding-right: 50px;
    height: 40px;
    position: relative;
}
.header > .header_box > form > input{
    width: 100%;
    height: 30px;
    border-radius: 15px;
    margin-top: 5px;
    padding-left: 30px;
}
.header > .header_box > form > .icon_search{
    height: 20px;
    width:20px;
    background: url("../images/search.png") no-repeat;
    background-size: 20px 20px;
    position: absolute;
    /*background-position: 0 20px;*/
    top: 10px;
    left: 65px;
}
/*杞挱鍥�*/
.banner{
    width: 100%;
    position: relative;
    overflow: hidden;
}
.banner > ul:first-child{
    width: 1000%;
    -webkit-transform:translateX(-10%);/*灏藉彲鑳藉仛webkit鍐呮牳鐨勫吋瀹�*/
    transform: translateX(-10%);
}
.banner > ul:first-child > li{
    width: 10%;
    float: left;
}
.banner > ul:first-child > li > a{
    width: 100%;
    display: block;
}
.banner > ul:first-child > li > a > img{
    width: 100%;
    /*
    font-size 0
    block
    vertical-align: middle;
    */
    display: block;
}
.banner > ul:last-child{
    width: 70px;
    height: 6px;
    position: absolute;
    bottom: 6px;
    left: 50%;
    margin-left:-35px;
}
.banner > ul:last-child > li{
    width: 6px;
    height: 6px;
    float: left;
    border-radius: 3px;
    border: 1px solid #fff;
    margin-left: 10px;
}
.banner > ul:last-child > li.now{
    background: #fff;
}
.banner > ul:last-child > li:nth-child(1){
    margin-left: 0;
}
/*瀵艰埅鏍忔ā鍧�*/
.nav{
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
}
.nav > ul{
    width: 100%;
    padding: 10px 0;
}
.nav > ul > li{
    width: 25%;
    float: left;
}
.nav > ul > li > a{
    display: block;
}
.nav > ul > li > a > img{
    width: 40px;
    height: 40px;
    display: block;
    margin: 0 auto;
}
.nav > ul > li > a > p{
    text-align: center;
    color: #666;
    font-size: 12px;
    padding: 6px 0;
}
/*鍟嗗搧涓荤洅瀛�*/
.product > .product_box{
    width: 100%;
    background: #fff;
    margin-top: 10px;
    box-shadow:0 0 1px #e0e0e0;
}
.product > .product_box > .product_box_tit{
    height: 40px;
    line-height: 40px;
    /*border-bottom: 1px solid #e0e0e0;*/
}

.product > .product_box > .product_box_tit > h3{
    font-weight: normal;
    font-size: 15px;
    padding-left: 20px;
    position: relative;
    color: #666;
}
.product > .product_box > .product_box_tit > h3::before{
    /*
        display block  position: absolute  float left
    */
    content:"";
    position: absolute;
    top: 12px;
    left: 10px;
    width: 3px;
    height: 15px;
    background: #d8505c;
}


.jd_sk .product_box_con > ul{
    width: 100%;
    padding: 10px 0;
}
.jd_sk .product_box_con > ul > li{
    width: 33.333%;
    float: left;
    text-align: center;
}
.jd_sk .product_box_con > ul > li >a{
    display: block;
    width: 100%;
    border-right: 1px solid #e0e0e0;
}
.jd_sk .product_box_con > ul > li:last-child > a{
    border-right: 0;
}
.jd_sk .product_box_con > ul > li >a > img{
    width: 64%;
    display: block;
    margin: 0 auto;
}
.drug {
    width: 100%;
    padding-bottom: 10px;
    background: #f5f5f5;
}
.drug >li > p {
    padding: 5px 0;
}
.drug > li {
    position: relative;
    width: 49.5%;
    float: left;
    background: #fff;
    margin-bottom: 1%;
    padding:0 5px;
}
.drug > li:nth-child(2n){
    margin-left: 1%;
}
.drug > li >a {
    display: block;
    width: 100%;
}
.drug > li >a >img {
    width: 100%;
    display: block;
    margin: 0 auto;
}
.xuan {
    height: 30px;
}
.rmb {
    color: #d8505c;
    line-height: 30px;
}
.price {
    color: #d8505c;
    font-size: 18px;
    font-weight: 700;
    line-height: 30px;
}
.xuanze {
    margin: 2px 2px 0 0;
}
.xuanze span {
    display: inline-block;
    height: 25px;
    width: 25px;
    float: left;
    border: 1px solid #e0e0e0;
    text-align: center;
    font-size: 16px;
    line-height: 25px;
    color: #ccc;
}
.xuanze > span:first-of-type{
    border-right: none;
}
.xuanze > span:last-of-type{
    border-left: none;
}
.xuanze > span > a {
    display: inline-block;
    width: 100%;
    height: 100%;
}
.xuaninput {
    display: inline-block;
    width: 100%;
    height: auto;
    text-align: center;
    font-size: 14px;
}
/*
E:first-of-type  閫夋嫨E鍚岀被鍨嬬殑鍚岀骇鐨�  绗竴涓厓绱�
E:last-of-type  閫夋嫨E鍚岀被鍨嬬殑鍚岀骇鐨�  鏈€鍚庝釜鍏冪礌
E:nth-of-type(n)  閫夋嫨E鍚岀被鍨嬬殑鍚岀骇鐨�  绗琻涓厓绱�
*/
.jd_sk .product_box_con > ul > li >p:first-of-type{
    color: #d8505c;
    padding-top: 5px;
}
.jd_sk .product_box_con > ul > li >p:last-of-type{
    text-decoration: line-through;/*鍒犻櫎绾�*/
    color: #666;
    padding-top: 5px;
}

/*缁勫悎鏍峰紡*/
.w_50{
    width: 50%;
    display: block;
}
.w_50 > img{
    display: block;
    width: 100%;
}

.b_left{
    border-left: 1px solid #e0e0e0;
}
.b_right{
    border-right: 1px solid #e0e0e0;
}
.b_bottom{
    border-bottom: 1px solid #e0e0e0;
}
